<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Class bmqa::SessionEvent</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="bdedox.css" rel="stylesheet" type="text/css"/>
    <style>
      div.hanging {
        padding-left: 0.75in;
        text-indent: -0.50in;
      }
      div.unhanging {
        text-indent:     0in;
      }
      a.glossary {
        font-weight: bold;
        font-style: italic;
      }
    </style>
</head>
<!--
<body onload='searchBox.OnSelectItem(0);'>
-->
<body>

<table border=2 cellspacing=0 cellpadding=0 align=center>
<tr>
 <td valign=top align=center>
 <p align=center><b><i>Quick Links:</i></b></p>
 </td>
 <td valign=top align=center>
 <p align=center>
<a class="qindex" href="group__bmqa.html" target="_blank">bmqa</a> | <a class="qindex" href="group__bmqpi.html" target="_blank">bmqpi</a> | <a class="qindex" href="group__bmqt.html" target="_blank">bmqt</a>
 </td>
 </tr>
 </table>

  </div>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="components.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="components.html"><span>Components</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacebmqa.html">bmqa</a>      </li>
      <li><a class="el" href="classbmqa_1_1SessionEvent.html">bmqa::SessionEvent</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<h1>bmqa::SessionEvent Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="bmqa::SessionEvent" -->
<p><code>#include &lt;<a class="el" href="bmqa__sessionevent_8h_source.html">bmqa_sessionevent.h</a>&gt;</code></p>

<p><a href="classbmqa_1_1SessionEvent-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#a8d526a2fdc2313d79e2bd16ccef6b63b">SessionEvent</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#a2b44f3a62c5d133debc44a9fb9a23dae">SessionEvent</a> (const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#a5eb61c24ccac5ca6ae6fb484ec68d3e9">operator=</a> (const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structbmqt_1_1SessionEventType.html#aef449af38af76209352bf82f78b92529">bmqt::SessionEventType::Enum</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#a57c7930a474e344c707b64c0b1cdd075">type</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classbmqt_1_1CorrelationId.html">bmqt::CorrelationId</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#a05256cd480747dd4cac13926bfc512ce">correlationId</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbmqa_1_1QueueId.html">QueueId</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#accb614503fe2af4bfec4eeb9cbafe178">queueId</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#a8ab036e14cc1c858c59110a76e0997eb">statusCode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const bsl::string &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#a504e8845e244fde7b62add064deb89ad">errorDescription</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bsl::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#ae70876502399b0cdd3fe6df53c3f594d">print</a> (bsl::ostream &amp;stream, int level=0, int spacesPerLevel=4) const </td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#a9684aadcd31265a3fa4e823e711699f7">operator==</a> (const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;lhs, const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEvent.html#a8f87837c07db7a25fd94c357d5f6e841">operator!=</a> (const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;lhs, const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;rhs)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>An event related to the operation of a <code><a class="el" href="classbmqa_1_1Session.html">Session</a></code>.</p>
<p>See <a class="el" href="group__bmqa__sessionevent.html">Component bmqa_sessionevent</a> </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8d526a2fdc2313d79e2bd16ccef6b63b"></a><!-- doxytag: member="bmqa::SessionEvent::SessionEvent" ref="a8d526a2fdc2313d79e2bd16ccef6b63b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bmqa::SessionEvent::SessionEvent </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default constructor </p>

</div>
</div>
<a class="anchor" id="a2b44f3a62c5d133debc44a9fb9a23dae"></a><!-- doxytag: member="bmqa::SessionEvent::SessionEvent" ref="a2b44f3a62c5d133debc44a9fb9a23dae" args="(const SessionEvent &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bmqa::SessionEvent::SessionEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a new <code><a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a></code> having the same values (pointing to the same pimpl) as the specified <code>other</code>. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5eb61c24ccac5ca6ae6fb484ec68d3e9"></a><!-- doxytag: member="bmqa::SessionEvent::operator=" ref="a5eb61c24ccac5ca6ae6fb484ec68d3e9" args="(const SessionEvent &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a>&amp; bmqa::SessionEvent::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assign to this <code><a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a></code> the same values as the one from the specified <code>rhs</code> (i.e., reference the same pimpl). </p>

</div>
</div>
<a class="anchor" id="a57c7930a474e344c707b64c0b1cdd075"></a><!-- doxytag: member="bmqa::SessionEvent::type" ref="a57c7930a474e344c707b64c0b1cdd075" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structbmqt_1_1SessionEventType.html#aef449af38af76209352bf82f78b92529">bmqt::SessionEventType::Enum</a> bmqa::SessionEvent::type </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the session event type. </p>

</div>
</div>
<a class="anchor" id="a05256cd480747dd4cac13926bfc512ce"></a><!-- doxytag: member="bmqa::SessionEvent::correlationId" ref="a05256cd480747dd4cac13926bfc512ce" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classbmqt_1_1CorrelationId.html">bmqt::CorrelationId</a>&amp; bmqa::SessionEvent::correlationId </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the correlationId associated to this event, if any. </p>

</div>
</div>
<a class="anchor" id="accb614503fe2af4bfec4eeb9cbafe178"></a><!-- doxytag: member="bmqa::SessionEvent::queueId" ref="accb614503fe2af4bfec4eeb9cbafe178" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbmqa_1_1QueueId.html">QueueId</a> bmqa::SessionEvent::queueId </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the queueId associated to this event, if any. The behavior is undefined unless this event corresponds to a queue related event (i.e. <code>OPEN</code>, <code>CONFIGURE</code>, <code>CLOSE</code>, <code>REOPEN</code>). </p>

</div>
</div>
<a class="anchor" id="a8ab036e14cc1c858c59110a76e0997eb"></a><!-- doxytag: member="bmqa::SessionEvent::statusCode" ref="a8ab036e14cc1c858c59110a76e0997eb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int bmqa::SessionEvent::statusCode </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the status code that indicates success or the cause of a failure. </p>

</div>
</div>
<a class="anchor" id="a504e8845e244fde7b62add064deb89ad"></a><!-- doxytag: member="bmqa::SessionEvent::errorDescription" ref="a504e8845e244fde7b62add064deb89ad" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const bsl::string&amp; bmqa::SessionEvent::errorDescription </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return a printable description of the error, if <code>statusCode</code> returns non-zero. Return an empty string otherwise. </p>

</div>
</div>
<a class="anchor" id="ae70876502399b0cdd3fe6df53c3f594d"></a><!-- doxytag: member="bmqa::SessionEvent::print" ref="ae70876502399b0cdd3fe6df53c3f594d" args="(bsl::ostream &amp;stream, int level=0, int spacesPerLevel=4) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bsl::ostream&amp; bmqa::SessionEvent::print </td>
          <td>(</td>
          <td class="paramtype">bsl::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>level</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>spacesPerLevel</em> = <code>4</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Format this object to the specified output <code>stream</code> at the (absolute value of) the optionally specified indentation <code>level</code> and return a reference to <code>stream</code>. If <code>level</code> is specified, optionally specify <code>spacesPerLevel</code>, the number of spaces per indentation level for this and all of its nested objects. If <code>level</code> is negative, suppress indentation of the first line. If <code>spacesPerLevel</code> is negative format the entire output on one line, suppressing all but the initial indentation (as governed by <code>level</code>). If <code>stream</code> is not valid on entry, this operation has no effect. </p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a9684aadcd31265a3fa4e823e711699f7"></a><!-- doxytag: member="bmqa::SessionEvent::operator==" ref="a9684aadcd31265a3fa4e823e711699f7" args="(const SessionEvent &amp;lhs, const SessionEvent &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return <code>true</code> if the specified <code>rhs</code> object contains the value of the same type as contained in the specified <code>lhs</code> object and the value itself is the same in both objects, return false otherwise. </p>

</div>
</div>
<a class="anchor" id="a8f87837c07db7a25fd94c357d5f6e841"></a><!-- doxytag: member="bmqa::SessionEvent::operator!=" ref="a8f87837c07db7a25fd94c357d5f6e841" args="(const SessionEvent &amp;lhs, const SessionEvent &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return <code>false</code> if the specified <code>rhs</code> object contains the value of the same type as contained in the specified <code>lhs</code> object and the value itself is the same in both objects, return <code>true</code> otherwise. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="bmqa__sessionevent_8h_source.html">bmqa_sessionevent.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jun 15 2023 11:58:51 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
